<?php echo link_to('home', '@homepage') ?> | 
<?php echo link_to('ranking', 'challenge/ranking') ?> | 
<?php echo link_to('challenges', 'challenge/list') ?> |
<?php echo link_to('rules', 'challenge/rules') ?>

<?php if ($sf_user->isAuthenticated()) { ?>
	| <?php echo link_to('post a victory', 'challenge/post') ?>
	| <?php echo link_to('logout', '@sf_guard_signout') ?>
	&nbsp;&nbsp;&nbsp;Logged as : <?php echo $sf_user->getUsername() ?>
<? } else { ?>
	| <?php echo link_to('subscribe', 'player/subscribe') ?>
	| <?php echo link_to('login', '@sf_guard_signin') ?>
<? } ?>